package cn.observer2;

/**
 * Created by jt on 2018/3/22.
 */
public class Test {
    public static void main(String[] args) {
        Radio radio = new Radio() ;
        Observer o1 = new People("张三",radio) ;
        Observer o2 = new People("李四",radio) ;
        Observer o3 = new People("王五",radio) ;

        radio.music();

        radio.news();
    }
}
